{% extends 'demo/base.html' %}
{% load static %}
{% block link %}
    <link rel="stylesheet" href="{% static 'css/demo/add_article.css' %}"/>
{% endblock %}
{% block title %}博客发布{% endblock %}
{% block header %}
    {% include 'demo/header.html' %}
{% endblock %}

{% block main %}
    <form method="post" enctype="multipart/form-data">
        {% csrf_token %}
        <ul class="form-box">
            {{ form.as_ul }}
            <li>
                <input type="submit" value="立即发布" class="submit-btn"/>
            </li>
        </ul>
    </form>
{% endblock %}